<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>TABTMP01</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/style.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/atributos.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resources/antigo/css/botoes.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/antigo/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/antigo/css/bootstrap-theme.min.css">
<script src="${pageContext.request.contextPath}/resources/antigo/js/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/resources/antigo/js/bootstrap.min.js"></script>
<script type="text/javascript">
	botoes = "1001010010";
</script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/antigo/js/sispfuncoes.js"></script>
</head>
<body onunload="">
	<form id="form" action=".">
		<jsp:include page="/resources/antigo/include/header.jsp" />
		<div id="conteudo">
			<div class="content">
				<center>
					<div id="container" style="height: auto; width: 800px; float: inherit;">
						<div id="espaco" style="height: 75%; width: 100%; margin: 0 auto;">
							<br />
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">GEJUSPC</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 635px; float: left">
									<label class="control-label"> - Gerencia da Justica, Seguranca Publica e Cidadania</label>
								</div>
								<div align="right" style="width: 100px; float: left">
									<label class="control-label">VER.: ${versao}</label>
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">STI</label>
								</div>
								<div align="left" class="col-lg-1" style="width: 570px; float: left">
									<label class="control-label">- Subgerencia de Tecnologia da Informacao</label>
								</div>
								<div align="left" class="col-lg-1" style="width: 65px; float: left">
									<input type="text" id="operacao" onkeypress="return enviar(this, event)" style="text-transform: uppercase" name="tabtmp01.operacao" class="form-control input-cb" value="${tabtmp01.operacao}" maxlength="3" size="3" />
								</div>
								<div align="right" style="width: 100px; float: left">
									<label class="control-label">${dataCorrente}</label>
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">SISP</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 635px; float: left">
									<label class="control-label">- Sistema de Informacoes de Seguranca Publica</label>
								</div>
								<div align="right" style="width: 100px; float: left">
									<label class="control-label">${horaCorrente}</label>
								</div>
							</div>
							<div class="row">
								<div align="left" class="col-lg-1" style="width: 75px; float: left">
									<label class="control-label">IIC</label>
								</div>
								<div align="left" class="col-lg-8" style="width: 500px; float: left">
									<label class="control-label"> - INSTITUTO DE IDENTIFICACAO CIVIL</label>
								</div>
							</div>
							<label class="corpo_c">_________________________________________________________________________________________</label>
							<br />
							<br />
							<div class="row">
								<div align="center" class="col-lg-7" style="width: 500px; float: inherit">
									<input type="hidden" id="sn" name="tabtmp01.sn" readonly tabindex="-1" class="corpo_v" value="${tabtmp01.sn}" maxlength="1" size="1" />
								</div>
							</div>
							<div class="row">
								<div align="center" class="col-lg-7" style="width: 500px; float: inherit">
									<label class="control-label">TABELA DE ENDERECOS DOS TERMINAIS</label>
								</div>
								<br />
								<br />
								<div class="row">
									<div align="left" class="col-lg-4" style="width: 225px; float: left">
										<label class="control-label">ENDERECO DO TERMINAL:</label>
									</div>
									<div align="left" class="col-lg-4" style="width: 195px; float: left">
										<input type="text" id="chalfa1" name="tabtmp01.chalfa1" class="form-control input-cb" value="${tabtmp01.chalfa1}" maxlength="14" size="14" onkeypress="mascara(event,this,'XXXXXXXX')" />
									</div>
									<div align="left" class="col-lg-4" style="width: 90px; float: left">
										<label class="control-label">(ENTER)</label>
									</div>
								</div>
								<div class="row">
									<div align="left" class="col-lg-4" style="width: 225px; float: left">
										<label class="control-label">DESCRICAO DO TERMINAL:</label>
									</div>
									<div align="left" class="col-lg-4" style="width: 150px; float: left">
										<input type="text" id="desc1" name="tabtmp01.desc1" class="form-control input-cb" value="${tabtmp01.desc1}" maxlength="30" size="30" onkeypress="mascara(event,this,'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')">
									</div>
								</div>
								<div class="row">
									<div align="left" class="col-lg-4" style="width: 225px; float: left">
										<label class="control-label"></label>
									</div>
									<div align="left" class="col-lg-4" style="width: 150px; float: left">
										<input type="text" id="desc2" name="tabtmp01.desc2" class="form-control input-cb" value="${tabtmp01.desc2}" maxlength="30" size="30" onkeypress="mascara(event,this,'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')">
									</div>
								</div>
								<div class="row">
									<div align="left" class="col-lg-4" style="width: 225px; float: left">
										<label class="control-label"></label>
									</div>
									<div align="left" class="col-lg-4" style="width: 255px; float: left">
										<label class="control-label">''PF5'' -&gt; ATUALIZAR</label>
									</div>
								</div>
								<div class="row">
									<div align="left" class="col-lg-4" style="width: 225px; float: left">
										<label class="control-label"></label>
									</div>
									<div align="left" class="col-lg-4" style="width: 255px; float: left">
										<label class="control-label">''PF3'' -&gt; SAIR</label>
									</div>
								</div>
								<div class="row">
									<div align="left" class="col-lg-4" style="width: 225px; float: left">
										<label class="control-label">MATRICULA:</label>
									</div>
									<div align="left" class="col-lg-4" style="width: 140px; float: left">
										<input type="text" id="dintabmatfun" name="tabtmp01.dintabmatfun" class="form-control input-cb" value="${tabtmp01.dintabmatfun}" maxlength="7" size="7">
									</div>
									<div align="left" class="col-lg-4" style="width: 120px; float: left">
										<label class="control-label">DATA:</label>
									</div>
									<div align="left" class="col-lg-4" style="width: 150px; float: left">
										<input type="text" id="dataCorrente" name="tabtmp01.dataCorrente" class="form-control input-cb" value="${tabtmp01.dataCorrente}" maxlength="8" size="8" onkeypress="mascara(event,this,'99/99/9999')">
									</div>
								</div>
								<br />
								<label class="corpo_c">______________________________________________________________________________________________________________________________________</label>
								<div class="row">
									<div align="center" class="col-lg-4" style="width: 200px; float: left">
										<label class="control-label">ESC p/ Voltar</label>
									</div>
									<div align="center" class="col-lg-1" style="width: 430px; float: left">
										<label class="control-label">${empresa} - ${programa}</label>
									</div>
									<div align="center" class="col-lg-1" style="width: 200px; float: right">
										<label class="control-label">CTRL + Z p/ Sair</label>
									</div>
								</div>
							</div>
							<br />
							<br />
							<div class="row">
								<div class="col-lg-12">
									<input type="text" class="form-control input-cb" id="mensagem" name="tabtmp01.mensagem" value="${ tabtmp01.mensagem }" maxlength="80" size="80" />
									<input type="hidden" id="funcao" name="tabtmp01.funcao" value="${ tabtmp01.funcao }" maxlength="1" size="1" />
									<input type="hidden" id="campofocus" name="tabtmp01.campofocus" value="${ tabtmp01.campofocus }" maxlength="30" size="30" />
									<input type="hidden" id="navegar" name="tabtmp01.navegar" value="${ tabtmp01.navegar }" />
								</div>
							</div>
							<br />
						</div>
					</div>
					<div id="tabtm001C" style="display: none;">
						<br />
						<div class="row">
							<div align="left" class="col-lg-1" style="width: 270px; float: left">
								<label class="control-label"></label>
							</div>
							<div align="left" class="col-lg-1" style="width: 120px; float: left">
								<label class="control-label">BAIXA (S/N):</label>
							</div>
							<div align="left" class="col-lg-1" style="width: 55px; float: left">
								<input type="text" id="op3" name="tabtmp01.op3" class="form-control input-cb" value="${tabtmp01.op3}" maxlength="1" size="1" onfocus="document.getElementById('tabtm001C').style.display = 'block';" />
							</div>
						</div>
						<br />
						<div class="row">
							<div align="left" class="col-lg-1" style="width: 270px; float: left">
								<label class="control-label"></label>
							</div>
							<div align="left" class="col-lg-1" style="width: 120px; float: left">
								<label class="control-label">MATRICULA:</label>
							</div>
							<div align="left" class="col-lg-1" style="width: 100px; float: left">
								<input type="text" id="matric" name="tabtmp01.matric" class="form-control input-cb" value="${tabtmp01.matric}" maxlength="7" size="7" />
							</div>
							<div align="left" class="col-lg-1" style="width: 100px; float: left">
								<label class="control-label">SENHA:</label>
							</div>
							<div align="left" class="col-lg-1" style="width: 100px; float: left">
								<input type="password" id="senha" name="tabtmp01.senha" class="form-control input-cb" value="${tabtmp01.senha}" maxlength="6" size="6" />
							</div>
						</div>
						<br />
					</div>
				</center>
			</div>
		</div>
		<jsp:include page="/resources/antigo/include/footer.jsp" />
	</form>
</body>
</html>
